/*
 * Pakket.h
 *
 *      Author: Roel en Stijn
 */

#ifndef PAKKET_H_
#define PAKKET_H_


typedef struct  {
	int robx;
	int roby;
	int robhoek;
	int doelx;
	int doely;
	int garx;
	int gary;
} Info;

typedef struct  {
    unsigned short int udph_srcport;
    unsigned short int udph_destport;
    unsigned short int udph_len;
    unsigned short int udph_chksum;
} Udp_header;

typedef struct  {
    Udp_header header;
    int groep_a;
    Info info_a;
    int groep_b;
    Info info_b;
} Udp_pakket;

typedef struct  {
    int nr;
    Udp_pakket d;
}   Pakket;



#endif /* PAKKET_H_ */
